<template>
  首页<br />
  <el-button type="primary" @click="testToken">测试token是否起作用</el-button>
</template>

<script>

import { test } from '../api/test.js'

export default {
  name: "Index",
  methods: {
    async testToken(){
      const data = await test();
      console.log(data);
    }
  }
}
</script>

<style scoped>

</style>